package com.opencloud.ywt.provider.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.opencloud.ywt.client.model.entity.*;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface BhyfXhbAngleRecordMapper extends BaseMapper<BhyfXhbAngleRecord> {
    List<BhyfXhbAngleRecordTongJiResult> getAngleRecordTongJi(@Param("gid")Integer gid, @Param("classid")Integer classid, @Param("checkdate")String checkdate);

    List<BhyfXhbAngleRecordTongJiPerson> getAngleRecordPersonTongJi(@Param("gid")Integer gid, @Param("classid")Integer classid, @Param("checkdate")String checkdate);

    String getAngleRecordPersonAngleNames(@Param("gid")Integer gid, @Param("classid")Integer classid, @Param("personid")Integer personid, @Param("checkdate")String checkdate);

    List<BhyfXhbAnglePlayResult> getAngleRecordPlayResult(@Param("gid")Integer gid, @Param("classid")Integer classid, @Param("startdate")String startdate, @Param("enddate")String enddate);

    List<BhyfXhbAnglePlayGoodsResult> getAngleGoodsPlayResult(@Param("gid")Integer gid, @Param("classid")Integer classid, @Param("startdate")String startdate, @Param("enddate")String enddate);

    List<BhyfXhbAngleRecordTongJiPerson> getRealtimeAngleRecordPersonTongJi(@Param("gid")Integer gid, @Param("classid")Integer classid, @Param("checkdate")String checkdate);
}